package com.oauth.google.client.rpc.gmail;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.oauth.components.client.rpc.exception.SessionExpiredException;
import com.oauth.google.client.beans.gmail.GoogleMailModel;
import com.oauth.google.client.beans.orkut.HttpQueryString;
import com.oauth.google.client.exception.GoogleOAuthException;

@RemoteServiceRelativePath("../google/gmail.ajax")
public interface GMailRemoteService extends RemoteService {
	public GoogleMailModel getGoogleMail(HttpQueryString queryString)
			throws SessionExpiredException, GoogleOAuthException;

}
